package com.hospital.phyexam.dao;

import com.hospital.phyexam.entity.RelationPhyBatchExample;
import com.hospital.phyexam.entity.RelationPhyBatchKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RelationPhyBatchMapper {
    long countByExample(RelationPhyBatchExample example);

    int deleteByExample(RelationPhyBatchExample example);

    int deleteByPrimaryKey(RelationPhyBatchKey key);

    int insert(RelationPhyBatchKey record);

    int insertSelective(RelationPhyBatchKey record);

    List<RelationPhyBatchKey> selectByExample(RelationPhyBatchExample example);

    int updateByExampleSelective(@Param("record") RelationPhyBatchKey record, @Param("example") RelationPhyBatchExample example);

    int updateByExample(@Param("record") RelationPhyBatchKey record, @Param("example") RelationPhyBatchExample example);
    List<RelationPhyBatchKey>selectByBatchId(int batch_id);
    List<RelationPhyBatchKey>selectByProId(int pro_id);
    void deleteByBatchId(int batch_id);
    void deleteByProId(int ProId);
    void update(RelationPhyBatchKey relationPhyBatchKey);
    List<RelationPhyBatchKey>selectAll();



}